<template>
  <div class="app-container">
    <app-container>
      <el-col :span="24">
        <h3 class="title-left,grid-content bg-purple">查询条件</h3>
      </el-col>
      <el-col :span="24" >
        <generate-form ref="generateForm" :data="jsonData_Q" :remote="remoteFuncs" :value="editData" />
        <h3 class="title-left,grid-content bg-purple">查询结果</h3>
      </el-col>
      <el-col :span="24">
        <generate-table ref="generateTable" :data="jsonData_T" :remote="remoteFuncs" :value="editData"/>
        <div class="generate-block">
          <el-button type="primary" @click="handleSubmit">浏览</el-button>
          <el-button type="primary">重置</el-button>
        </div>
      </el-col>
    </app-container>
  </div>
</template>

<script>
import GenerateForm from '@/components/CreateForm/GenerateForm'
import '@/components/CreateForm/styles/FormCreate.css'
import GenerateTable from '@/components/CreateTable/GenerateTable'
export default {
  components: {
    GenerateForm,
    GenerateTable
  },
  data: function() {
    return {
      activeName: 'first',
      jsonData_Q: {
        list: [
          {
            type: 'grid',
            name: '栅格布局',
            icon: 'th',
            columns: [
              {
                span: 8,
                list: [
                  {
                    type: 'input',
                    name: '贷款借据号',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542874401000_2260'
                    },
                    key: '1542874401000_2260',
                    model: 'input_1542874401000_2260',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 8,
                list: [
                  {
                    type: 'input',
                    name: '贷款账号',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542874405000_78913'
                    },
                    key: '1542874405000_78913',
                    model: 'input_1542874405000_78913',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              }
            ],
            options: {
              gutter: 0,
              justify: 'start',
              align: 'top',
              remoteFunc: 'func_1542874398000_5480'
            },
            key: '1542874398000_5480',
            model: 'grid_1542874398000_5480',
            rules: []
          },
          {
            type: 'grid',
            name: '栅格布局',
            icon: 'th',
            columns: [
              {
                span: 8,
                list: [
                  {
                    type: 'date',
                    name: '起始日期',
                    icon: 'regular/calendar-alt',
                    options: {
                      defaultValue: '',
                      readonly: false,
                      disabled: false,
                      editable: true,
                      clearable: true,
                      placeholder: '',
                      startPlaceholder: '',
                      endPlaceholder: '',
                      type: 'date',
                      format: 'yyyy-MM-dd',
                      timestamp: false,
                      required: false,
                      width: '100%',
                      remoteFunc: 'func_1542874426000_48941'
                    },
                    key: '1542874426000_48941',
                    model: 'date_1542874426000_48941',
                    rules: []
                  }
                ]
              },
              {
                span: 8,
                list: [
                  {
                    type: 'date',
                    name: '终止日期',
                    icon: 'regular/calendar-alt',
                    options: {
                      defaultValue: '',
                      readonly: false,
                      disabled: false,
                      editable: true,
                      clearable: true,
                      placeholder: '',
                      startPlaceholder: '',
                      endPlaceholder: '',
                      type: 'date',
                      format: 'yyyy-MM-dd',
                      timestamp: false,
                      required: false,
                      width: '100%',
                      remoteFunc: 'func_1542874428000_88530'
                    },
                    key: '1542874428000_88530',
                    model: 'date_1542874428000_88530',
                    rules: []
                  }
                ]
              }
            ],
            options: {
              gutter: 0,
              justify: 'start',
              align: 'top',
              remoteFunc: 'func_1542874424000_1527'
            },
            key: '1542874424000_1527',
            model: 'grid_1542874424000_1527',
            rules: []
          },
          {
            type: 'grid',
            name: '栅格布局',
            icon: 'th',
            columns: [
              {
                span: 8,
                list: [
                  {
                    type: 'input',
                    name: '公司代码',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542874457000_86399'
                    },
                    key: '1542874457000_86399',
                    model: 'input_1542874457000_86399',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 8,
                list: [
                  {
                    type: 'input',
                    name: '交易流水',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542874460000_15716'
                    },
                    key: '1542874460000_15716',
                    model: 'input_1542874460000_15716',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              }
            ],
            options: {
              gutter: 0,
              justify: 'start',
              align: 'top',
              remoteFunc: 'func_1542874441000_86671'
            },
            key: '1542874441000_86671',
            model: 'grid_1542874441000_86671',
            rules: []
          }
        ],
        config: {
          labelWidth: 100,
          labelPosition: 'right'
        },
        table: {
          showRemove: false,
          showIndexCol: false,
          showEdit: false,
          showExport: false,
          showAdd: false,
          stripe: true,
          border: false
        }
      },
      jsonData_T: {
        list: [
          {
            type: 'grid',
            name: '栅格布局',
            icon: 'th',
            columns: [
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '贷款账号',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872780000_76541'
                    },
                    key: '1542872780000_76541',
                    model: 'input_1542872780000_76541',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '贷款借据号',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872799000_90215'
                    },
                    key: '1542872799000_90215',
                    model: 'input_1542872799000_90215',
                    rules: []
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'date',
                    name: '起息日期',
                    icon: 'regular/calendar-alt',
                    options: {
                      defaultValue: '',
                      readonly: false,
                      disabled: false,
                      editable: true,
                      clearable: true,
                      placeholder: '',
                      startPlaceholder: '',
                      endPlaceholder: '',
                      type: 'date',
                      format: 'yyyy-MM-dd',
                      timestamp: false,
                      required: false,
                      width: '100%',
                      remoteFunc: 'func_1542872813000_59799'
                    },
                    key: '1542872813000_59799',
                    model: 'date_1542872813000_59799',
                    rules: []
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'date',
                    name: '到期日期',
                    icon: 'regular/calendar-alt',
                    options: {
                      defaultValue: '',
                      readonly: false,
                      disabled: false,
                      editable: true,
                      clearable: true,
                      placeholder: '',
                      startPlaceholder: '',
                      endPlaceholder: '',
                      type: 'date',
                      format: 'yyyy-MM-dd',
                      timestamp: false,
                      required: false,
                      width: '100%',
                      remoteFunc: 'func_1542872821000_65998'
                    },
                    key: '1542872821000_65998',
                    model: 'date_1542872821000_65998',
                    rules: []
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '贷款期限',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872905000_25043'
                    },
                    key: '1542872905000_25043',
                    model: 'input_1542872905000_25043',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '原执行利率',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872927000_50640'
                    },
                    key: '1542872927000_50640',
                    model: 'input_1542872927000_50640',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '执行利率',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872940000_70110'
                    },
                    key: '1542872940000_70110',
                    model: 'input_1542872940000_70110',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '原实际利率',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872954000_47932'
                    },
                    key: '1542872954000_47932',
                    model: 'input_1542872954000_47932',
                    rules: []
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '实际利率',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872905000_25043'
                    },
                    key: '1542872905000_25043',
                    model: 'input_1542872905000_25043',
                    rules: [
                      {
                        type: 'string',
                        message: '贷款期限格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '原逾期利率',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872927000_50640'
                    },
                    key: '1542872927000_50640',
                    model: 'input_1542872927000_50640',
                    rules: [
                      {
                        type: 'string',
                        message: '原执行利率格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '逾期利率',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542872940000_70110'
                    },
                    key: '1542872940000_70110',
                    model: 'input_1542872940000_70110',
                    rules: [
                      {
                        type: 'string',
                        message: '执行利率格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'select',
                    name: '货币代号',
                    icon: 'regular/caret-square-down',
                    options: {
                      defaultValue: 'USD美元',
                      multiple: false,
                      disabled: false,
                      clearable: false,
                      placeholder: '',
                      required: false,
                      showLabel: false,
                      width: '100%',
                      options: [
                        {
                          value: 'RMB人民币'
                        },
                        {
                          value: 'USD美元'
                        },
                        {
                          value: 'EUR欧元'
                        }
                      ],
                      remote: false,
                      remoteOptions: [],
                      props: {
                        value: 'value',
                        label: 'label'
                      },
                      remoteFunc: 'func_1542873084000_46141'
                    },
                    key: '1542873084000_46141',
                    model: 'select_1542873084000_46141',
                    rules: [
                      {
                        type: 'string',
                        message: '原实际利率格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '正常本金',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873209000_88185'
                    },
                    key: '1542873209000_88185',
                    model: 'input_1542873209000_88185',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '逾期本金',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873216000_22861'
                    },
                    key: '1542873216000_22861',
                    model: 'input_1542873216000_22861',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '呆滞本金',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873218000_53294'
                    },
                    key: '1542873218000_53294',
                    model: 'input_1542873218000_53294',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '呆账本金',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873223000_92024'
                    },
                    key: '1542873223000_92024',
                    model: 'input_1542873223000_92024',
                    rules: [
                      {
                        type: 'string',
                        message: '呆账本金格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '应收应计利息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873284000_37252'
                    },
                    key: '1542873284000_37252',
                    model: 'input_1542873284000_37252',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '催收应计利息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873209000_88185'
                    },
                    key: '1542873209000_88185',
                    model: 'input_1542873209000_88185',
                    rules: [
                      {
                        type: 'string',
                        message: '正常本金格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '应收欠息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873216000_22861'
                    },
                    key: '1542873216000_22861',
                    model: 'input_1542873216000_22861',
                    rules: [
                      {
                        type: 'string',
                        message: '逾期本金格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '催收欠息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873218000_53294'
                    },
                    key: '1542873218000_53294',
                    model: 'input_1542873218000_53294',
                    rules: [
                      {
                        type: 'string',
                        message: '呆滞本金格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '应计复息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873223000_92024'
                    },
                    key: '1542873223000_92024',
                    model: 'input_1542873223000_92024',
                    rules: [
                      {
                        type: 'string',
                        message: '呆账本金格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '复息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873284000_37252'
                    },
                    key: '1542873284000_37252',
                    model: 'input_1542873284000_37252',
                    rules: [
                      {
                        type: 'string',
                        message: '应收应计利息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '待摊利息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873410000_70550'
                    },
                    key: '1542873410000_70550',
                    model: 'input_1542873410000_70550',
                    rules: [
                      {
                        type: 'string',
                        message: '单行文本格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '核销本金',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873209000_88185'
                    },
                    key: '1542873209000_88185',
                    model: 'input_1542873209000_88185',
                    rules: [
                      {
                        type: 'string',
                        message: '催收应计利息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '核销利息',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873216000_22861'
                    },
                    key: '1542873216000_22861',
                    model: 'input_1542873216000_22861',
                    rules: [
                      {
                        type: 'string',
                        message: '应收欠息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'date',
                    name: '交易日期',
                    icon: 'regular/calendar-alt',
                    options: {
                      defaultValue: '',
                      readonly: false,
                      disabled: false,
                      editable: true,
                      clearable: true,
                      placeholder: '',
                      startPlaceholder: '',
                      endPlaceholder: '',
                      type: 'date',
                      format: 'yyyy-MM-dd',
                      timestamp: false,
                      required: false,
                      width: '100%',
                      remoteFunc: 'func_1542873479000_27609'
                    },
                    key: '1542873479000_27609',
                    model: 'date_1542873479000_27609',
                    rules: [
                      {
                        type: 'string',
                        message: '催收欠息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '交易流水',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873223000_92024'
                    },
                    key: '1542873223000_92024',
                    model: 'input_1542873223000_92024',
                    rules: [
                      {
                        type: 'string',
                        message: '应计复息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '集团代码',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873284000_37252'
                    },
                    key: '1542873284000_37252',
                    model: 'input_1542873284000_37252',
                    rules: [
                      {
                        type: 'string',
                        message: '复息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '交易码',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873410000_70550'
                    },
                    key: '1542873410000_70550',
                    model: 'input_1542873410000_70550',
                    rules: [
                      {
                        type: 'string',
                        message: '待摊利息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '摘要码',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873209000_88185'
                    },
                    key: '1542873209000_88185',
                    model: 'input_1542873209000_88185',
                    rules: [
                      {
                        type: 'string',
                        message: '核销本金格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '摘要',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873216000_22861'
                    },
                    key: '1542873216000_22861',
                    model: 'input_1542873216000_22861',
                    rules: [
                      {
                        type: 'string',
                        message: '核销利息格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'input',
                    name: '维护柜员',
                    icon: 'regular/keyboard',
                    options: {
                      width: '100%',
                      defaultValue: '',
                      required: false,
                      dataType: 'string',
                      pattern: '',
                      placeholder: '',
                      readonly: false,
                      disabled: false,
                      clearable: false,
                      remoteFunc: 'func_1542873223000_92024'
                    },
                    key: '1542873223000_92024',
                    model: 'input_1542873223000_92024',
                    rules: [
                      {
                        type: 'string',
                        message: '交易流水格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'date',
                    name: '维护日期',
                    icon: 'regular/calendar-alt',
                    options: {
                      defaultValue: '',
                      readonly: false,
                      disabled: false,
                      editable: true,
                      clearable: true,
                      placeholder: '',
                      startPlaceholder: '',
                      endPlaceholder: '',
                      type: 'date',
                      format: 'yyyy-MM-dd',
                      timestamp: false,
                      required: false,
                      width: '100%',
                      remoteFunc: 'func_1542873626000_75040'
                    },
                    key: '1542873626000_75040',
                    model: 'date_1542873626000_75040',
                    rules: [
                      {
                        type: 'string',
                        message: '集团代码格式不正确'
                      }
                    ]
                  }
                ]
              },
              {
                span: 6,
                list: [
                  {
                    type: 'date',
                    name: '时间戳',
                    icon: 'regular/calendar-alt',
                    options: {
                      defaultValue: '',
                      readonly: false,
                      disabled: false,
                      editable: true,
                      clearable: true,
                      placeholder: '',
                      startPlaceholder: '',
                      endPlaceholder: '',
                      type: 'date',
                      format: 'yyyy-MM-dd',
                      timestamp: false,
                      required: false,
                      width: '100%',
                      remoteFunc: 'func_1542873647000_83315'
                    },
                    key: '1542873647000_83315',
                    model: 'date_1542873647000_83315',
                    rules: [
                      {
                        type: 'string',
                        message: '交易码格式不正确'
                      }
                    ]
                  }
                ]
              }
            ],
            options: {
              gutter: 0,
              justify: 'start',
              align: 'top',
              remoteFunc: 'func_1542872762000_29818'
            },
            key: '1542872762000_29818',
            model: 'grid_1542872762000_29818',
            rules: []
          }
        ],
        config: {
          labelWidth: 100,
          labelPosition: 'right'
        },
        table: {
          showRemove: false,
          showIndexCol: false,
          showEdit: false,
          showExport: false,
          showAdd: false,
          stripe: true,
          border: false
        }
      },
      editData: {},
      values: {},
      remoteFuncs: {}
    }
  },
  methods: {
    handleSubmit() {
      this.$refs.generateForm
        .getData()
        .then(data => {
          // 数据校验成功
          // data 为获取的表单数据
        })
        .catch(e => {
          // 数据校验失败
        })
    }
  }
}
</script>

<style scoped>
</style>
